home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Full / Paragon Drive Backup 9 / DB90_SE_x64.msi / Data1.cab / _EAA79782795C4459BE769232611535D3 < prev    next >
Extensible Markup Language  |  2008-06-28  |  2KB  |  86 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <xsl:stylesheet
  4.   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  5.   xmlns:msxsl="urn:schemas-microsoft-com:xslt"
  6.   version="1.0">
  7.  
  8. <xsl:output
  9.   method="html"
  10.   version="4.0"
  11.   encoding="UTF-8"
  12.   omit-xml-declaration="yes"
  13.   indent="yes"/>
  14.  
  15. <xsl:template match="/Root">
  16.  
  17. <html>
  18.   <xsl:variable name="FSName" select="PropertyBag/Property[@name='PROPID_HDM_INTERNALFSNAME']"/>
  19.  
  20.   <TABLE>
  21.     <TR>
  22.       <TD align="left" colspan="2">
  23.  
  24.     <xsl:choose>
  25.       <xsl:when test="$FSName='FREE'">
  26.         <h2>QT_TRANSLATE_NOOP("QObject", "Free Space")</h2>
  27.       </xsl:when>
  28.       <xsl:when test="$FSName='EXTENDED'">
  29.         <h2>QT_TRANSLATE_NOOP("QObject", "Extended partition")</h2>
  30.       </xsl:when>
  31.     </xsl:choose>
  32.  
  33.         <img src="hline_gray"/>
  34.       </TD>
  35.     </TR>
  36.     <tr>
  37.       <td colspan="2" align="center">
  38.         <img src="C2CAA428-F14A-48d2-93D9-AA7580338E78"/>
  39.       </td>
  40.     </tr>
  41.     <tr>
  42.       <td colspan="2">
  43.         <img src="hline_gray"/>
  44.       </td>
  45.     </tr>
  46.  
  47.     <TR>
  48.       <TD align="right">
  49.         <nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_TYPESTRING']"/></b></nobr>
  50.       </TD>
  51.       <TD align="left">
  52.           <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_TYPESTRING']"/></nobr>
  53.       </TD>
  54.     </TR>
  55.     <TR>
  56.       <TD align="right">
  57.         <nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_SIZESTRING']"/></b></nobr>
  58.       </TD>
  59.       <TD align="left">
  60.         <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_SIZESTRING']"/></nobr>
  61.       </TD>
  62.     </TR>
  63.     <tr>
  64.       <TD>
  65.       </TD>
  66.       <TD align="left">
  67.         <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_SIZESTRING_LONG']"/></nobr>
  68.       </TD>
  69.     </tr>
  70.     <tr>
  71.       <TD>
  72.       </TD>
  73.       <TD align="left">
  74.         <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_SIZEINSECTORS_STRING']"/></nobr>
  75.       </TD>
  76.     </tr>
  77.  
  78.   </TABLE>
  79.  
  80. </html>
  81. </xsl:template>
  82.  
  83. </xsl:stylesheet>
  84.  
  85.  
  86.